You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
finally, constructing OAuthSession class with my broswerServices:
returnnewOAuthSession(browserServices);
In my application the methods provided by OAuthSession class: login and redeemAuthCode are working fine. I'm able to login user and redeem auth code returned by Looker UI host (take note that, when I'm calling redeemAuthCode method of OauthSession class it performs API call to /token endpoint). The problem occurs while I'm trying to call OAuthSession logout method, basically, it gives CORS error for some reason. So at the end of the day API call to /api/token endpoint works well but /api/logout endpoint fails with CORS error. Is there anything that I can do to avoid/fix this error in my application scope?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hello, I have set up Looker Oauth using OauthSession class provided by @looker/sdk-rtl package. I'm implementing OauthSettings class as follows:
after this as the next step, I'm creating an instance of OauthSettings class:
and then using created instance to initialize browser services:
finally, constructing OAuthSession class with my broswerServices:
In my application the methods provided by OAuthSession class: login and redeemAuthCode are working fine. I'm able to login user and redeem auth code returned by Looker UI host (take note that, when I'm calling redeemAuthCode method of OauthSession class it performs API call to /token endpoint). The problem occurs while I'm trying to call OAuthSession logout method, basically, it gives CORS error for some reason. So at the end of the day API call to /api/token endpoint works well but /api/logout endpoint fails with CORS error. Is there anything that I can do to avoid/fix this error in my application scope?
Thanks in advance.
The text was updated successfully, but these errors were encountered: