GithubHelp home page GithubHelp logo

loginradius / dot-net-sdk Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 22.0 5.59 MB

The LoginRadius ASP.NET library will let you integrate LoginRadius' customer identity platform with your ASP.Net application(s).

Home Page: https://www.loginradius.com

License: MIT License

C# 100.00%
asp hacktoberfest identity-management loginradius loginradius-asp loginradius-sdk nuget-package single-sign-on social-login

dot-net-sdk's People

Contributors

agarwal-sudhanshu avatar giriraj12000 avatar govindmalviya avatar indrasen715 avatar karl-loginradius avatar kunal-saini avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dot-net-sdk's Issues

appsettings not respecting the environment

it would be nice to have the appsettings as the conventions, we usually have appsettings.{Environment}.json, it seems the SDK is always getting appsettings.json only, it would be nice to have this differentiation as the configuration document below

https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-3.1

Suggestion

        public SDKConfigHandler()
        {
            var environment = Environment.GetEnvironmentVariable(BaseConstants.ASPNETCORE_ENVIRONMENT);

            var builder = new ConfigurationBuilder()
                .SetBasePath(Directory.GetCurrentDirectory())
                .AddJsonFile("appsettings.json", optional: true, reloadOnChange: true)
                .AddJsonFile($"appsettings.{environment}.json", optional: true, reloadOnChange: true)
                .AddEnvironmentVariables();

            Configuration = builder.Build();
        }

VerifyEmail doesn't return the email

When I use this sdk and call
var apiResponse = new AuthenticationApi().VerifyEmail(token, null, url);

the apiResponse doesn't have any information of the user but when I call it native without this sdk, the response return me the email.

this is the response of the native call in a happy path

{
"IsPosted":true,
"Data":{
"Email":"[email protected]"
}
}

And I need the email to get the profile info

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.