Questions tagged [nativescript-oauth2]
10 questions
3
votes
0 answers
MS OAuth2 on Android blank page in login webview -- if I break config, it will display the error in the webview and work
I have a nativescript project and attempting to login using Oauth2.0. Now on iOS, everything works fine. In Android, whenever I click on login the webview is blank white, no error nothing on the console either.
if I copy-paste the 'url' of the…

SebastianG
- 8,563
- 8
- 47
- 111
1
vote
0 answers
Using an out-of-app browser with nativescript ouath2
I am very new to nativescript and I am using nativescript vue and try to configure ouath2 in a way that the login works via an out-of-app browser. The default for nativescript oauth2 seems to be creating an in-app web view of the login…

user13118062
- 31
- 2
1
vote
1 answer
Error importing nativescript-oauth2 into nativescript vue project
In nativescript vue.js project I installed nativescript-oauth2 by npm install nativescript-oauth2.
Later I'm trying import nativescript-oauth2 package into project file by import { TnsOAuthClient, configureTnsOAuth } from…

lstanczak
- 13
- 3
1
vote
2 answers
routerExtensions.navigate not working well on this NativeScript app
I have a very basic NativeScript / Angular project based on the sample code on:
https://github.com/alexziskind1/nativescript-oauth2/tree/master/demo-angular
It basically allows the user to login with Google.
Just after the user introduces his…

davidesp
- 3,743
- 10
- 39
- 77
1
vote
1 answer
Microsoft AD Authentication on Android does not close webview after signing in even if successful?
I have a nativescript app that I'm using to login to Microsoft AD through Oauth2.0. The issue I'm having is once the user signs in through the webview that shows up on Android, the webview does not close, instead the loading spinner keeps spinning.…

SebastianG
- 8,563
- 8
- 47
- 111
0
votes
1 answer
OAuth2 Plugin to login using refresh tokens
I have a mobile application where I am trying to authenticate the user using the nativescript-oauth2 plugin with custom providers using Azure B2C. My requirement is that I want to make the user login for the first time to the application using their…

Shraddha
- 1
0
votes
1 answer
Logging in with Identity Server 4 and nativescript-oauth2 Hangs
I have an Nativescript app using the nativescriptoauth2 plugin to login.
After I authenticate on the identityserver page it hangs. If I close the webview and login again it is aleady autenticated and goes to a blank white page and sits there.
My…

Wayne Thompson
- 1
- 3
0
votes
0 answers
How to get user info with nativescript-oauth2 after user grants permission?
I'm working on a basic Nativescript app based on the demo on:
https://github.com/alexziskind1/nativescript-oauth2/blob/master/demo-angular/src/app/auth.service.ts
import { Injectable } from "@angular/core";
import {
TnsOAuthClient,
…

davidesp
- 3,743
- 10
- 39
- 77
0
votes
1 answer
Safari error on login Microsoft account with oauth2
I have a a problem on a Nativescript 5.1.0 project with Angular 4, I use the API nativescript-oauth2, and it works fine for Facebook and Google, but when I try to Login into Microsoft it does not do very well.
I can enter the e-mail account and…

Meztli
- 184
- 1
- 9
0
votes
1 answer
Extending TnsOaProviderType
I am trying to implement nativescript-oauth2 with IdentityServer 4 so I am trying to implement a custom provider but I am getting a compilation error as follows:
Property 'providerType' in type 'TnsOaProviderMyProvider' is not
assignable to the…

A_Nabelsi
- 2,524
- 18
- 21