Skip to content

Client secret is revealed #1

@valstu

Description

@valstu

I found out link to this repository from the official Ubisecure SPA documentation https://www.ubisecure.com/developers/single-page-applications/

I went through the examples briefly and noticed that on spa.html file, line 87 the invokeTokenRequest function is using the client_id and client_secret.

function invokeTokenRequest(configuration, client_id, client_secret, code) {

This basically means that any user will have access to client_secret key. Isn't this a security risk?

Of course it could be that the provider is configured in a way that this doesn't cause any actual risks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions