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

Use on web #106

Closed
JardarM opened this issue Apr 9, 2021 · 8 comments
Closed

Use on web #106

JardarM opened this issue Apr 9, 2021 · 8 comments
Labels

Comments

@JardarM
Copy link

JardarM commented Apr 9, 2021

Hi,

can this package be used with flutter for web? If not, is it planned and are there other packages that support it?

@stevenebutler
Copy link
Collaborator

stevenebutler commented Apr 10, 2021

I have created an experimental pull request #103, that adds flutter web support (but probably doesn't work for b2c) and null safety, but changes this package interface. If you want to try it out and provide feedback you can use the following in your pubspec.yaml

But before you do, be warned that

  • this PR changes the interface to the library a bit (due to the use of the flutter_webview package that works differently to the webview used in the current package).
  • there is no guarantee the maintainers will accept the PR (especially due to the above point).
  aad_oauth:
    git:
      url: https://github.com/stevenebutler/aad_oauth.git
      ref: null-safety

Note that I have withdrawn the PR for this branch, though the branch itself will remain available until such time this package supports web.

@sowsan
Copy link

sowsan commented Apr 11, 2021

It would be great to have support for web with B2c

@stevenebutler
Copy link
Collaborator

I don't have B2C scenarios so I can't test it. I will accept pull requests if you can debug/fix what's there to work with B2C.

@stale
Copy link

stale bot commented Jun 16, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you still think this issue is needed, reopen it again.

@stale stale bot added the stale label Jun 16, 2021
@sladomic
Copy link
Contributor

not stale

@stale
Copy link

stale bot commented Sep 23, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you still think this issue is needed, reopen it again.

@stale stale bot added the stale label Sep 23, 2021
@mcelotti
Copy link

I'm using Flutter 2.5.1 and:

|-- aad_oauth 0.3.0
|   |-- flutter...
|   |-- flutter_secure_storage 4.2.1

In the browser I get this error Error: Unsupported operation: Platform._operatingSystem.
aad_oauth depends on https://pub.dev/packages/flutter_secure_storage but flutter_secure_storage does not support the web platform. Am I missing something here? Thanks

@stale stale bot removed the stale label Oct 11, 2021
@stale
Copy link

stale bot commented Dec 11, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you still think this issue is needed, reopen it again.

@stale stale bot added the stale label Dec 11, 2021
@stale stale bot closed this as completed Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants