Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AuthMethods.CreateAuthRequest not working properly #80

Open
Kubos-cz opened this issue Nov 12, 2023 · 3 comments
Open

AuthMethods.CreateAuthRequest not working properly #80

Kubos-cz opened this issue Nov 12, 2023 · 3 comments

Comments

@Kubos-cz
Copy link

Hi,

AuthMethods.CreateAuthRequest is trying to access this URL https://api.cryptolens.io/User/AuthorizeApp to generate a request however there is nothing on the page

Then when I call https://api.cryptolens.io/api/auth/GetChallenge I get the error "The authorization request could not be found."

@artemlos
Copy link
Contributor

@Kubos-cz thanks for letting us know!

It appears to be an error in first url; it should call https://app.cryptolens.io/User/AuthorizeApp instead of https://api.cryptolens.io/User/AuthorizeApp.

We have added this to our backlog and will release a fix to it.

Thanks again!

@artemlos
Copy link
Contributor

@Kubos-cz

We have an alternative way to authenticate users, which goes directly to the API instead of asking the customer to authenticate with their account. I will include a link with more information below:

https://help.cryptolens.io/web-interface/customer-secret

I believe this could be a useful work around while the previous issue is fixed.

@Kubos-cz
Copy link
Author

Thanks for your reply @artemlos,

Using cutomer secret might be valid approach however the user would need to enter it themselves atleast once into the client

Do you offer more traditional methods ie. oAuth where I could exchange username and password for usertoken and then use the /user/ or /me/ enpoints etc?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants