Cryptolens/cryptolens-dotnet

AuthMethods.CreateAuthRequest not working properly

Opened this issue · 3 comments

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."

@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!

@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.

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?